<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <link REL="StyleSheet" type="text/css" href="core/tpl/{:G_TEMPLATE}/site.css">
        <link REL="StyleSheet" type="text/css" href="loginTpl/color_{:G_CSS_ID}/clc.css">
        <link REL="StyleSheet" type="text/css" href="loginTpl/bar_{:G_BAR_Type}/bar.css">
        <title>{:G_SITENAME}</title>
        <script src="scripts/jquery-1.7.1.min.js"></script>
        <script src="scripts/common.js"></script>
<script>
if (self==top) window.open("?op=core&fp=logout","_top");
// 表格顏色變化
$(function(){
  $("tbody#tbdLastBetList tr").hover(
  function() {$(this).addClass("trover");}
  , function() {$(this).removeClass("trover");}
  );
  
  $("tbody#tbdLastBetList tr:odd").addClass("row1");
  $("tbody#tbdLastBetList tr:even").addClass("row2");
  
  $("input:button").hover(
      function() {this.style.color='#0000FF';}
      , function() {this.style.color='';}
  );
  
  
  var showArr = new Array();
  {$nStr}
  {$bsStr}
  {$sdStr}
  {$pcStr}
  {$color_5hStr}
  {$fourStr}
  
  $("div#divBtnOpen_5d input:button").click(function(){
    var idx;
    if($(this).index() == undefined){idx = '0';}else{idx = $(this).index();} 
    var L = showArr[idx].length;
    if({$gametype} == 20){
      for(var i = 0 ; i < 12; i++ ){
        $("td#n1"+i).html(showArr[idx][5*i+0]);
        $("td#n2"+i).html(showArr[idx][5*i+1]);
        $("td#n3"+i).html(showArr[idx][5*i+2]);
        $("td#n4"+i).html(showArr[idx][5*i+3]);
        $("td#n5"+i).html(showArr[idx][5*i+4]); 
      }
    }
    else{
      for(var i = 0 ; i < 12; i++ ){
      $("td#n1"+i).html(showArr[idx][8*i+0]);
      $("td#n2"+i).html(showArr[idx][8*i+1]);
      $("td#n3"+i).html(showArr[idx][8*i+2]);
      $("td#n4"+i).html(showArr[idx][8*i+3]);
      $("td#n5"+i).html(showArr[idx][8*i+4]);
      $("td#n6"+i).html(showArr[idx][8*i+5]);
      $("td#n7"+i).html(showArr[idx][8*i+6]);
      $("td#n8"+i).html(showArr[idx][8*i+7]); 
    }
    }                                 
  });
  
  $("div#divBtnOpen_5d input:button:eq(0)").click();
  
  
    
});
</script>
    </head>
    <body background="image/bg.gif" class='sideBg' style='margin:0 0'>
        <table border="0" cellpadding="2" cellspacing="1" width="100%" class="table0">
            <tr>
                <td class=left_td0>请检视您的【{$gametypeStr}】帐户{$amount_type_str}</td>
            </tr>
            <td class=td2>
                <table border="0" cellpadding="1" cellspacing="0" width="100%">
                    <tr>
                        <td>会员帐号：</td>
                        <td align="right">{$account}</td>
                    </tr>
                    <tr>
                        <td>会员名称：</td>
                        <td align="right">{$name}</td>
                    </tr>
                        <tr>
                            <td>盘类：</td>
                            <td align="right">{$disk}</td>
                        </tr>
                        <tr>
                            <td>信用额度：</td>
                            <td align="right">{$amount}</td>
                        </tr>
                        {$maxamount}
                        <!--<tr>
                            <td>已用额度：</td>
                            <td align="right">{$usedamount}</td>
                        </tr>-->
                        <tr>
                            <td>可用额度：</td>
                            <td align="right">{$betamount}</td>
                        </tr>
                    <tr>
                        <td>下注期数：</td>
                        <td align="right">{$round}</td>
                    </tr>
                    <tr>
                        <td>开奖日期：</td>
                        <td align="right">{$opendate}</td>
                    </tr>
                </table>
        </table>

        <div style="padding-top:10px;"></div>

        <div style="{$listHeight}">
            <table border="0" cellpadding="2" cellspacing="1" width="100%" class="table0">
                <tr><td class=left_td0>最新12笔下注资料</td></tr>
                <table width="100%" border="0" cellspacing="1" cellpadding="0" class="table0">
                    <tr class="left_td14"> 
                        <td width="8%">时间</td>
                        <td nowrap width="46%">内容</td>
                        <td nowrap width="16%">赔率</td>
                        <td nowrap width="30%">金额</td>
                    </tr>
                    <tbody id="tbdLastBetList" style="font-weight:bold;">
                        {$list0}
                    </tbody>
                    <tr class="td15"> 
                        <td colspan="4">&nbsp;</td>
                    </tr>
                </table>
            </table>
        </div>
        <div style="padding-top:10px;"></div>
        <div style="{$listHeight_5d}">
            <style>
                .tblMy3D td,{
                    font-family:Gulim;
                    font-size:13px;
                    text-align:center;
                }
                .left_td3{background-color:white; color:black;}
            </style>
            <table width="100%" class="tblMy3D" >
                <thead>
                    <tr class="title0 bgImg_{$gametype}">
                        <td style="font-family:Gulim; font-size:13px;" align="center" colspan="20" style="padding-top:7px;">
                            【{$gametypeStr}】开奖结果                            
                            {$title}
                        </td>
                    </tr>
                </thead>
                <tbody id="tbdLastBetList">
                    {$listMyLotto}
                </tbody>
                <tr class="title0 bgImg_{$gametype}"> 
                    <td colspan="20">&nbsp;</td>
                </tr>
            </table>
            </div>
            <div style="color:#fff;width:100%;text-align:center;margin-top:10px">{:G_SITENAME} ©. All Rights Reserved.</div>
    </body>
</html>